home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3v2nurb.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.5 KB  |  67 lines

  1.  
  2. // JavaScript wrapper for r3v2nurb.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_VONU2D_H = 1;
  7. include("real/raytr/r3frobj.js")
  8. include("oops/r3vector.js")
  9.  
  10.  
  11. var R3CLID_VOL2DNURBS = 119;
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. R3V2NA_Subdiv = 119502;
  20. function SetR3V2NA_Subdiv(value) {
  21.   R3Set(this.r3obj, R3V2NA_Subdiv, value, R3TID_INTEGER, 0); 
  22. }
  23.  
  24. function GetR3V2NA_Subdiv() {
  25.   return R3Get(this.r3obj, R3V2NA_Subdiv, R3TID_INTEGER, 0); 
  26. }
  27.  
  28. R3V2NA_Order = 119503;
  29. function SetR3V2NA_Order(value) {
  30.   R3Set(this.r3obj, R3V2NA_Order, value, R3TID_INTEGER, 0); 
  31. }
  32.  
  33. function GetR3V2NA_Order() {
  34.   return R3Get(this.r3obj, R3V2NA_Order, R3TID_INTEGER, 0); 
  35. }
  36.  
  37. R3V2NA_OptimizeForUnitSquare = 119504;
  38. function SetR3V2NA_OptimizeForUnitSquare(value) {
  39.   R3Set(this.r3obj, R3V2NA_OptimizeForUnitSquare, value, R3TID_BOOLEAN, 0); 
  40. }
  41.  
  42. R3V2NA_Closed = 119505;
  43. function SetR3V2NA_Closed(value) {
  44.   R3Set(this.r3obj, R3V2NA_Closed, value, R3TID_BOOLEAN, 0); 
  45. }
  46.  
  47. var R3V2NURB_MAXORDER = 20;
  48.  
  49.  
  50. function r3Vol2dnurbs () { 
  51.    this.base = r3God;
  52.    if(arguments.length) {
  53.       this.base(R3CLID_VOL2DNURBS, arguments);
  54.    }
  55.    // Methods
  56.  
  57.    // Attributes
  58.    this.GetSubdiv=GetR3V2NA_Subdiv;
  59.    this.SetSubdiv=SetR3V2NA_Subdiv;
  60.    this.GetOrder=GetR3V2NA_Order;
  61.    this.SetOrder=SetR3V2NA_Order;
  62.    this.SetOptimizeForUnitSquare=SetR3V2NA_OptimizeForUnitSquare;
  63.    this.SetClosed=SetR3V2NA_Closed;
  64. }
  65.  
  66. r3Vol2dnurbs.prototype=new r3Frobject;
  67. // r3v2nurb.h_H